package com.hrb.douban;

import android.app.Application;
import android.content.Context;
import com.hrb.douban.R;
import com.scwang.smartrefresh.layout.footer.ClassicsFooter;

/**
 * 全局应用变量
 */
public class CustomApplication extends Application {
    /**全局上下文*/
    private static Context context;
    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
    }
    public static Context getContext(){
        return  context;
    }
    private void configUnits() {

    }
}
